﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Tp_Activity:NFinal.Struct
    {
		public System.Int32? id {get;set;}
		public System.String title {get;set;}
		public System.String adImage {get;set;}
		public System.String shareTitle {get;set;}
		public System.String shareLogo {get;set;}
		public System.String wxLink {get;set;}
		public System.String tpLink {get;set;}
		public System.Int32? tpCount {get;set;}
		public System.DateTime? bmStartDate {get;set;}
		public System.DateTime? bmEndDate {get;set;}
		public System.DateTime? tpStartDate {get;set;}
		public System.DateTime? tpEndDate {get;set;}
		public System.String context {get;set;}
		public System.Int32? vlCount {get;set;}
		public System.Int32? vtCount {get;set;}
		public System.Int32? vbCount {get;set;}
		public System.Int32? isMessage {get;set;}
		public System.Int32? state {get;set;}
		public System.DateTime? addTime {get;set;}
		public System.String memoa {get;set;}
		public System.String memob {get;set;}
		public System.String memoc {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"id\":");
					tw.Write(id==null?"null" : id.ToString());
					tw.Write(",");
					tw.Write("\"title\":");
					tw.Write("\"");
					tw.Write(title==null?"null":title);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"adImage\":");
					tw.Write("\"");
					tw.Write(adImage==null?"null":adImage);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"shareTitle\":");
					tw.Write("\"");
					tw.Write(shareTitle==null?"null":shareTitle);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"shareLogo\":");
					tw.Write("\"");
					tw.Write(shareLogo==null?"null":shareLogo);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"wxLink\":");
					tw.Write("\"");
					tw.Write(wxLink==null?"null":wxLink);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"tpLink\":");
					tw.Write("\"");
					tw.Write(tpLink==null?"null":tpLink);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"tpCount\":");
					tw.Write(tpCount==null?"null" : tpCount.ToString());
					tw.Write(",");
					tw.Write("\"bmStartDate\":");
					tw.Write("\"");
					tw.Write(bmStartDate==null?"null":bmStartDate.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"bmEndDate\":");
					tw.Write("\"");
					tw.Write(bmEndDate==null?"null":bmEndDate.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"tpStartDate\":");
					tw.Write("\"");
					tw.Write(tpStartDate==null?"null":tpStartDate.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"tpEndDate\":");
					tw.Write("\"");
					tw.Write(tpEndDate==null?"null":tpEndDate.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"context\":");
					tw.Write("\"");
					tw.Write(context==null?"null":context);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"vlCount\":");
					tw.Write(vlCount==null?"null" : vlCount.ToString());
					tw.Write(",");
					tw.Write("\"vtCount\":");
					tw.Write(vtCount==null?"null" : vtCount.ToString());
					tw.Write(",");
					tw.Write("\"vbCount\":");
					tw.Write(vbCount==null?"null" : vbCount.ToString());
					tw.Write(",");
					tw.Write("\"isMessage\":");
					tw.Write(isMessage==null?"null" : isMessage.ToString());
					tw.Write(",");
					tw.Write("\"state\":");
					tw.Write(state==null?"null" : state.ToString());
					tw.Write(",");
					tw.Write("\"addTime\":");
					tw.Write("\"");
					tw.Write(addTime==null?"null":addTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memoa\":");
					tw.Write("\"");
					tw.Write(memoa==null?"null":memoa);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memob\":");
					tw.Write("\"");
					tw.Write(memob==null?"null":memob);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memoc\":");
					tw.Write("\"");
					tw.Write(memoc==null?"null":memoc);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
